package com.coolt.client.ui;

import com.coolt.client.ui.AppConstants;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlexTable;
import com.google.gwt.user.client.ui.HasHorizontalAlignment;
import com.google.gwt.user.client.ui.Hyperlink;
import com.google.gwt.user.client.ui.Image;
import com.google.gwt.user.client.ui.Label;
import com.gwtext.client.widgets.form.ComboBox;
import com.gwtext.client.widgets.form.TextField;

public class Pesquisa extends Composite {

	private static final AppConstants CONSTANTS = (AppConstants) GWT.create(AppConstants.class);
	public Pesquisa() {
		final FlexTable flexTable = new FlexTable();
		initWidget(flexTable);
		flexTable.setSize("268", "30");
		flexTable.setStyleName("menuLink");

		final Label buscaLabel = new Label(CONSTANTS.buscaLabel_text());
		buscaLabel.setStyleName("busca");
		flexTable.setWidget(0, 0, buscaLabel);

		final TextField textField = new TextField();
		flexTable.setWidget(0, 1, textField);

		final ComboBox comboBox = new ComboBox();
		flexTable.setWidget(0, 2, comboBox);

		final Image image = new Image();
		flexTable.setWidget(0, 3, image);
		image.setUrl("imagem/padrao/icone_pesquisa.jpg");
		
	}

}
